package com.itheima.domain;

import java.io.Serializable;
/*
    用户类
 */
public class User implements Serializable {
    //用户名
    private String username;
    //用户密码
    private String pwd;
    //无参构造
    public User() {
    }
    //带参构造
    public User(String username, String pwd) {
        this.username = username;
        this.pwd = pwd;
    }
    //GetterAndSetter

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
